﻿// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=234238
using Windows.UI.Xaml.Controls;

namespace SimpleHubSample.Views
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class HubView : Page
    {
        public HubView()
        {
            this.InitializeComponent();
        }

        private void Hub_SectionHeaderClick(object sender, HubSectionHeaderClickEventArgs e)
        {
            this.Frame.Navigate(typeof(DetailPage), e.Section.Header);
        }
    }
}
